home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
007
/
boostrs.arc
/
STRIP.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1980-01-01
|
1KB
|
51 lines
{ -------------------------------------------
STRIP function removes leading and trailing
characters from a string.
------------------------------------------- }
Function STRIP ( S : AnyString;
C : Char) : AnyString;
{ Removes all leading and trailing
C characters from S }
begin
InLine ( $1E/
$8D/$7E/$07/
$8A/$4E/$06/
$30/$ED/
$8C/$D0/
$8E/$C0/
$8B/$46/$04/
$83/$F9/$01/
$77/$0E/
$8A/$5E/$07/
$30/$FF/
$39/$D8/
$74/$35/
$8B/$D7/
$EB/$1D/$90/
$FC/
$F3/$AE/
$E3/$2B/
$4F/
$8B/$D7/
$8A/$4E/$06/
$30/$ED/
$8D/$7E/$07/
$01/$CF/
$4F/
$FD/
$F3/$AE/
$47/
$8B/$CF/
$29/$D1/
$41/
$88/$8E/$06/$01/
$8B/$F2/
$8D/$BE/$07/$01/
$8C/$D0/
$8E/$D8/
$FC/
$F3/$A4/
$EB/$07/$90/
$C7/$86/$06/$01/$00/$00/
$1F/$5D);
end;